/*

package com.mryin.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


*/
/**
 * @author: Mr.Yin
 * @create: 2021-02-28 11:55
 **//*


@Configuration
public class MyWebMvcConfigurerAdapter implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        System.out.println("我是映射路径");
        registry.addResourceHandler("/MrYin/**").addResourceLocations("file:///D:/Nginx/nginx-1.18.0/html/MrYin/");
    }
}
*/
